
package com.doculibre.constellio.utils.connector.init;

import com.doculibre.constellio.entities.ConnectorInstance;
import com.doculibre.constellio.entities.IndexField;
import com.doculibre.constellio.entities.RecordCollection;

/**
 * 
 * Initialisation class of the Twitter Connector
 * 
 * @author France Labs
 * 
 */
public class InitTwitterConnectorHandler extends InitDefaultConnectorHandler {

	@Override
	protected void initCustomConnectorInstance(ConnectorInstance connectorInstance) {
        RecordCollection collection = connectorInstance.getRecordCollection();
        createDateQueryFacetIfNecessary(collection, IndexField.LAST_MODIFIED_FIELD);
	}

}
